home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c-part1 / 5490 < prev    next >
Encoding:
Text File  |  1996-08-05  |  1.1 KB  |  29 lines

  1. Newsgroups: comp.lang.c
  2. Path: mxsld2.pd.infn.it!LORETI
  3. From: loreti@mxsld2.pd.infn.it (Maurizio Loreti)
  4. Subject: Re: Another Character String Question
  5. X-Nntp-Posting-Host: mxsld2.pd.infn.it
  6. Message-ID: <DMnsr6.K2B@news.cern.ch>
  7. Sender: news@news.cern.ch (USENET News System)
  8. Reply-To: loreti@mxsld2.pd.infn.it
  9. Organization: I.N.F.N. Padova - CDF/CMS VAXcluster
  10. References: <4fdfq4$mis@er5.rutgers.edu>,<4fgpbn$r4r@spanky.pls.ov.com>
  11. Date: Mon, 12 Feb 1996 10:49:53 GMT
  12.  
  13. In article <4fgpbn$r4r@spanky.pls.ov.com>, glenn@ov.com (Fletcher.Glenn@ov.com) writes:
  14. >In article mis@er5.rutgers.edu, wempa@eden.rutgers.edu (Force Of Nature) writes:
  15. >>...
  16. >>                                                      I need to take a pointer
  17. >>to a string of characters and add ONLY 1 additional character to it.
  18. >>...
  19. >
  20. >Try strcat(text, ")");
  21. >
  22. >            Fletcher.Glenn@ov.com
  23.  
  24. Be sure that the original string has declared storage for one more
  25. character...
  26. --
  27. Maurizio Loreti                       http://mvxpd5.pd.infn.it/wwwcdf/mlo.html
  28. Un. of Padova, Dept. of Physics - Padova, Italy          loreti@padova.infn.it
  29.